import { request } from '@/utils/request';

const url = '/api/console/site-setting';
export default {
  list: (data: any) => request.get({ url: `${url}/byType/${data.type}` }),
  update: (data: any) => request.patch({ url, data }),
};
